//
//  AllBaoJiaListTableViewCell.m
//  GLGW_Shoping
//
//  Created by yang on 2018/12/10.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "AllBaoJiaListTableViewCell.h"

@interface AllBaoJiaListTableViewCell ()
@property(nonatomic,strong)GLGWLabel * timeLabel;
@property(nonatomic,strong)GLGWLabel * baojiaLabel;

@end

@implementation AllBaoJiaListTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.timeLabel = [[GLGWLabel alloc] initWithFont:SYSTEMFONT(14) theColor:[UIColor colorWithHexString:@"#666666"] inSuperView:self.contentView];
        self.timeLabel.text = @"2018-08-24 12:37:46";
        self.timeLabel.textAlignment = NSTextAlignmentRight;
        [self.timeLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.right.centerY.equalTo(self.contentView);
        }];
        //
        self.baojiaLabel = [[GLGWLabel alloc] initWithFont:SYSTEMFONT(14) theColor:[UIColor colorWithHexString:@"#666666"] inSuperView:self.contentView];
        self.baojiaLabel.text = @"天津***有限公司 天津";
        [self.baojiaLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.centerY.equalTo(self.contentView);
            make.right.equalTo(self.timeLabel.mas_left).offset(-kHeightProportion_In_iPhoneTriploid(10));
        }];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
